package com.epoch.service;

import com.epoch.entity.Consumer;
import org.springframework.stereotype.Service;

/**
 * @author admin
 */
@Service
public interface ConsumerService {

    /**
     * search consumer by id
     * @param csId
     * @return consumer
     */
    Consumer getById(String csId);

    /**
     * login
     * @param csPhone
     * @param csPwd
     * @return
     */
    Consumer login(String csPhone, String csPwd);
}
